﻿using Microsoft.EntityFrameworkCore;
using SuYuanSystem.Domain;

namespace SuYuanSystem.EntityFrameworkCore
{
    public class SuYuanSystemDbContext : DbContext
    {
        public SuYuanSystemDbContext(DbContextOptions<SuYuanSystemDbContext> options) : base(options)
        {
        }
        public DbSet<UserInfo> userInfos { get; set; }
        public DbSet<Role> roles { get; set; }
        public DbSet<UserRole> userRoles { get; set; }
        public DbSet<City> cities { get; set; }
        public DbSet<County> counties { get; set; }
        public DbSet<CultivationInfo> cultivationInfos { get; set; }
        public DbSet<Enterprise> enterprises { get; set; }
        public DbSet<HealthCare> healthCares { get; set; }
        public DbSet<Processing> processings { get; set; }
        public DbSet<Provice> provices { get; set; }
        public DbSet<RawMaterial> rawMaterials { get; set; }
        public DbSet<Shopp> shopps { get; set; }
        public DbSet<Slaughter> slaughters { get; set; }
        public DbSet<Tracebility> tracebilities { get; set; }
        public DbSet<Farms> farms { get; set; }
    }
}
